dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
96bf2d1
)
Merge "Fix phpdoc for Category::newFromName"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 30 Nov 2017 23:19:34 +0000
(23:19 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 30 Nov 2017 23:19:34 +0000
(23:19 +0000)
includes/Category.php
patch
|
blob
|
history
diff --git
a/includes/Category.php
b/includes/Category.php
index
629962d
..
9241730
100644
(file)
--- a/
includes/Category.php
+++ b/
includes/Category.php
@@
-119,9
+119,9
@@
class Category {
/**
* Factory function.
*
- * @param
array
$name A category name (no "Category:" prefix). It need
+ * @param
string
$name A category name (no "Category:" prefix). It need
* not be normalized, with spaces replaced by underscores.
- * @return
mixed
Category, or false on a totally invalid name
+ * @return
Category|bool
Category, or false on a totally invalid name
*/
public static function newFromName( $name ) {
$cat = new self();